<?php
class TestController extends BaseController
{

	public function actionIndex(){
		;
	}
	
	public function actionTest(){
		$this->uid = obj('User')->is_login();//TODO:后期转为js 减少服务端的压力
		
		$user = obj('User')->get_user($this->uid);
	
		var_dump($this->uid);
		var_dump($user);
	
		//$this->display('default_test.tpl');
		//echo url('aaa');
	
		// $Test = obj('Test');
		//测试创建表
		
	}
	
}